const learnCenter = {
  path: 'learn-center',
  name: 'learn-center',
  meta: { title: '学习中心' },
  redirect: '/user/learn-center/course',
  component: () => import('@/views/Learn/index.vue'),
  children: [
    {
      path: 'course',
      name: 'learn-course',
      meta: { title: '我的课程', styleTop: true },
      component: () => import('@/views/Learn/Course'),
    },
    {
      path: 'classroom',
      name: 'learn-classroom',
      meta: { title: '我的班级', styleTop: true },
      component: () => import('@/views/Learn/Classroom'),
    },
    {
      path: 'homework',
      name: 'homework',
      meta: { title: '我的考试', styleTop: true },
      component: () => import('@/views/Learn/Homework'),
    },
    {
      path: 'exam',
      name: 'learn-exam',
      meta: { title: '我的考试', styleTop: true },
      component: () => import('@/views/Learn/Eaxm'),
    },
    {
      path: 'exercise',
      name: 'learn-exercise',
      meta: { title: '我的练习', styleTop: true },
      component: () => import('@/views/Learn/Exercise'),
    },
    {
      path: 'question',
      name: 'learn-question',
      meta: { title: '我的题集', styleTop: true },
      component: () => import('@/views/Learn/Question'),
    },
    {
      path: 'leave',
      name: 'learn-leave',
      meta: { title: '我的请假', styleTop: true },
      component: () => import('@/views/Learn/Leave'),
    },
    {
      path: 'class-hour',
      name: 'class-hour',
      meta: { title: '我的课时', styleTop: true },
      component: () => import('@/views/Learn/ClassHour'),
    },
    {
      path: 'report',
      name: 'learn-report',
      meta: { title: '学习报告', styleTop: true },
      component: () => import('@/views/Learn/LearnReport'),
    },
  ],
}
export default learnCenter
